package com.lc.pda.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 货位
 * </p>
 *
 * @author zww
 * @since 2023-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wms_locate")
@ApiModel(value="WmsLocate对象", description="货位")
public class WmsLocate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "货位ID")
    @TableId(value = "locateId", type = IdType.AUTO)
    private String locateId;

    @ApiModelProperty(value = "货位编号")
    @TableField("locateNo")
    private String locateNo;

    @ApiModelProperty(value = "巷道号")
    @TableField("laneNo")
    private Integer laneNo;

    @ApiModelProperty(value = "排")
    @TableField("rowNo")
    private Integer rowNo;

    @ApiModelProperty(value = "列")
    @TableField("colNo")
    private Integer colNo;

    @ApiModelProperty(value = "层")
    @TableField("levelNo")
    private Integer levelNo;

    @ApiModelProperty(value = "库区ID")
    @TableField("zoneId")
    private String zoneId;

    @ApiModelProperty(value = "货位状态(0-空闲 1-已分配 2-已使用)")
    @TableField("locateStatus")
    private String locateStatus;

    @ApiModelProperty(value = "可用")
    private Integer isactive;

    @ApiModelProperty(value = "货位类型")
    @TableField("locateType")
    private String locateType;

    @TableField("contNo")
    private String contNo;

    @ApiModelProperty(value = "设备编号")
    @TableField("dvcNo")
    private String dvcNo;

    @ApiModelProperty(value = "1内  2外")
    @TableField("sideNo")
    private Integer sideNo;

    @ApiModelProperty(value = "是否可用 0否 1是")
    @TableField("enabelMark")
    private Integer enabelMark;

    @ApiModelProperty(value = "是否删除 0否 1是")
    @TableField("deleteMark")
    private Integer deleteMark;

    @ApiModelProperty(value = "创建用户ID")
    @TableField("createBy")
    private Integer createBy;

    @ApiModelProperty(value = "生成日期")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新用户")
    @TableField("updateBy")
    private Integer updateBy;

    @ApiModelProperty(value = "更新日期")
    @TableField("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
